import axios from "../utils/request";

//反填角色权限
export function getOnGetMenuId(data) {
    return axios({
        method: "get",
        url: "Permission/GetMenuId?id="+data,
    });
}

//权限分配(修改)
export function AssingPermissonJS(data) {
    return axios({
        method: "post",
        url: "Permission/EditAssignPermission",
        data: data
    });
}